/**
 * Anderground project - Subway maps processor application.
 * Copyright (C) 2008 Maksim Tkatchenko
 * Copyright (C) 2008-2009 Eldar Abusalimov, Ilya Shurigyn
 * 
 * This file is part of Anderground.
 * 
 * Anderground is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * Anderground is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Anderground.  If not, see <http://www.gnu.org/licenses/>.
 */

package org.anderground.core.graphics;

import org.anderground.core.graphics.factories.PathFactory;
import org.anderground.internal.graphics.abstaractions.AbstractPath;
import org.anderground.internal.graphics.abstaractions.Delegator;

public class Path extends Delegator<AbstractPath> implements AbstractPath {

	public Path() {
		setDelegate(PathFactory.getFactory().create());
	}

	public void lineTo(float x, float y) {
		getDelegate().lineTo(x, y);
	}

	public void moveTo(float x, float y) {
		getDelegate().moveTo(x, y);
	}

}
